package ch.unisi.inf.pfii.teamwhite.risk.core;

import junit.framework.TestCase;
import ch.unisi.inf.pfii.teamwhite.risk.buildings.Building;
import ch.unisi.inf.pfii.teamwhite.risk.buildings.TaxCenter;
import ch.unisi.inf.pfii.teamwhite.risk.core.player.Human;

public class PlanetTest extends TestCase {
	
	public void testShip() 
	{
		Planet planet = new Planet("User", new Human("User") ,100);
		Building building1 = new TaxCenter();
		planet.addBuilding(building1);
		assertEquals(true, planet.getBuilding() == building1);
    }

	public void testMoney()
	{
		Planet planet = new Planet("User", new Human("User") ,100);
		Building building1 = new TaxCenter();
		assertEquals(100, planet.getMoney());
	}
	
}
